<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>

    const ipt = document.createElement("input");

    ipt.value = "hello";
    ipt.style.background = "red";
    
    document.body.appendChild(ipt);
    
    ipt.focus();

</script>
</html>